module.exports = {
    '/api/hello.html': {
        target: 'http://localhost:97/',
        changeOrigin: true,
        pathRewrite: {// upay-api 上下文已关闭
            '^/api': '/' 
        }
    },
    '/api': {
        // target: 'http://localhost:9208',
        target: 'http://10.13.1.235:8090',
        // target: 'http://localhost:9203',
        changeOrigin: true,
        pathRewrite: {// upay-api 上下文已关闭
            '^/api': '/api' 
        }
    },
    '/api1.0': {
        target: 'http://localhost:9203',
        // target: 'http://10.20.88.128:9114',
        // target: 'http://10.13.1.58:9114',
        changeOrigin: true,
        pathRewrite: {// upay-api 上下文已关闭
            '^/api1.0': '/' 
        }
    },
    '/monitor': {
        target: 'http://localhost:9114',
        // target: 'http://10.20.88.128:9114',
        // target: 'http://10.13.1.58:9114',
        changeOrigin: true,
        pathRewrite: {// upay-api 上下文已关闭
        }
    },
    // http://10.20.88.106:4000/mock/23/payment-upay-console/checkAccount/bankQuery
    '/mock-api': {
        // target: 'http://localhost:9114',
        target: 'http://localhost:4000',
        changeOrigin: true,
        pathRewrite: {//代理地址重写
          '^/mock-api': '/mock/60/' 
        }
    },
};
